internal/profile.Location.ID (field)

23 uses

	internal/profile (current package)
		encode.go#L65: 			s.locationIDX = append(s.locationIDX, l.ID)
		encode.go#L240: 		locations[l.ID] = l
		encode.go#L399: 	encodeUint64Opt(b, 1, p.ID)
		encode.go#L409: 	func(b *buffer, m message) error { return decodeUint64(b, &m.(*Location).ID) },         // optional uint64 id = 1;
		graph.go#L279: 			locNodes := locationMap.get(l.ID)
		graph.go#L382: 		locations.add(l.ID, nodes)
		merge.go#L179: 		ids[i] = strconv.FormatUint(l.ID, 16)
		merge.go#L212: 	if l, ok := pm.locationsByID[src.ID]; ok {
		merge.go#L213: 		pm.locationsByID[src.ID] = l
		merge.go#L219: 		ID:       uint64(len(pm.p.Location) + 1),
		merge.go#L232: 		pm.locationsByID[src.ID] = ll
		merge.go#L235: 	pm.locationsByID[src.ID] = l
		profile.go#L92: 	ID       uint64
		profile.go#L223: 		if l.ID == 0 {
		profile.go#L226: 		if locations[l.ID] != nil {
		profile.go#L227: 			return fmt.Errorf("multiple locations with same id: %d", l.ID)
		profile.go#L229: 		locations[l.ID] = l
		profile.go#L319: 			sv = sv + fmt.Sprintf("%d ", l.ID)
		profile.go#L341: 		locStr := fmt.Sprintf("%6d: %#x ", l.ID, l.Address)
		profile.go#L416: 		l.ID = uint64(i + 1)
		prune.go#L40: 			pruneBeneath[loc.ID] = true
		prune.go#L45: 				prune[loc.ID] = true
		prune.go#L59: 			id := sample.Location[i].ID